﻿using System.Windows.Controls;
using System.Windows.Markup;

namespace wp7example.Overlay
{
    public class OverlayPlayer
    {
        public static Grid LoadXAMLTest()
        {
            return (Grid)XamlReader.Load("<Grid  xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\" xmlns:x=\"http://schemas.microsoft.com/winfx/2006/xaml\"><Ellipse Height=\"40\" VerticalAlignment=\"Top\" HorizontalAlignment=\"Left\" Width=\"40\"><Ellipse.Stroke><LinearGradientBrush EndPoint=\"0,1\" StartPoint=\"0.5,0\"><GradientStop Color=\"#FF02076E\" Offset=\"0\"/><GradientStop Color=\"#FF272FBA\" Offset=\"1\"/></LinearGradientBrush></Ellipse.Stroke><Ellipse.Fill><RadialGradientBrush  GradientOrigin=\"0.35,0.65\"><GradientStop Color=\"#FF06114D\" Offset=\"1\"/><GradientStop Color=\"#FF6F72FF\"/></RadialGradientBrush></Ellipse.Fill></Ellipse></Grid>");
        }
    }
}
